package com.ruoyi.project.jiaqin.membernewslikes.service;

import java.util.List;
import com.ruoyi.project.jiaqin.membernewslikes.domain.MemberNewsLikes;

/**
 * 用户点赞新闻Service接口
 *
 * @author admin
 * @date 2021-01-21
 */
public interface IMemberNewsLikesService
{
    /**
     * 查询用户点赞新闻
     *
     * @param memberId 用户点赞新闻ID
     * @return 用户点赞新闻
     */
    public MemberNewsLikes selectMemberNewsLikesById(String memberId,String newsId);

    /**
     * 查询用户点赞新闻列表
     *
     * @param memberNewsLikes 用户点赞新闻
     * @return 用户点赞新闻集合
     */
    public List<MemberNewsLikes> selectMemberNewsLikesList(MemberNewsLikes memberNewsLikes);

    /**
     * 新增用户点赞新闻
     *
     * @param memberNewsLikes 用户点赞新闻
     * @return 结果
     */
    public int insertMemberNewsLikes(MemberNewsLikes memberNewsLikes);

    /**
     * 修改用户点赞新闻
     *
     * @param memberNewsLikes 用户点赞新闻
     * @return 结果
     */
    public int updateMemberNewsLikes(MemberNewsLikes memberNewsLikes);

    /**
     * 批量删除用户点赞新闻
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteMemberNewsLikesByIds(String ids);

    /**
     * 删除用户点赞新闻信息
     *
     * @param memberId 用户点赞新闻ID
     * @return 结果
     */
    public int deleteMemberNewsLikesById(String memberId,String newsId);
}
